package com.ruowei.modules.foodOrder.repository;

import com.ruowei.common.repository.BaseRepository;
import com.ruowei.modules.foodOrder.domain.OrderReturn;

import com.ruowei.modules.foodOrder.domain.QOrderReturn;
import org.springframework.data.jpa.repository.*;
import org.springframework.stereotype.Repository;

import java.util.Optional;

/**
 * Spring Data  repository for the OrderReturn entity.
 */
@SuppressWarnings("unused")
@Repository
public interface OrderReturnRepository extends BaseRepository<Long, OrderReturn, QOrderReturn> {
    Optional<OrderReturn> findByOrderCode(String orderCode);
}
